<template>
  <div style="margin: 20px">
    <el-tabs v-model="activeName">
      <el-tab-pane label="用户管理" name="user">
        <user></user>
      </el-tab-pane>
      <el-tab-pane label="线路管理" name="line">
        <line-dev></line-dev>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import line from './line.vue';
import user from './user.vue';
export default {
  components: {
    'line-dev': line,
    user
  },
  data() {
    return {
      activeName: 'user'
    };
  }
};
</script>